package com.yifeng.repo.controller.postman.work.task.handler;

import com.yifeng.repo.controller.postman.work.dto.PostTaskDto;

import java.util.Map;

/**
 * Created by daibing on 2023/5/12.
 */
public interface PostInterceptor {

    /**
     * 对业务系统参数做扩展
     */
    default Map<String, Object> modify(Map<String, Object> bizSystemParams) {
        return bizSystemParams;
    }

    /**
     * Called for every request. Add data using methods on the supplied .
     */
    void apply(PostTaskDto postTaskDto);

}
